import dayjs from "dayjs"

const colunm =[
  {
    title:'名字',
    dataIndex:'name',
    key:'name'
  },
  {
    title:'节点状态',
    dataIndex:'status',
    key:'status'
  }
  ,
  {
    title:'开机时间',
    dataIndex:'startup',
    key:'startup'
  },
  {
    title:'提交时间',
    dataIndex:'time',
    key:'time',
    render:(time: any)=>{
      return dayjs(time).format('YYYY-MM-DD HH:mm:ss')
    }


  },
  {
    title:'是否重启',
    dataIndex:'reboot',
    key:'reboot'
  },
  // {
  //   title:'操作',
  //   dataIndex:'action',
  //   key:'action',
  //   render:(time: any)=>{

  //   }


  // },


]
export default colunm
